<!--
 * @FilePath     : /study_code/vue2.x/component_render2.html
 * @Description  : is 属性解决组件渲染出错问题
 * @Date         : 2025-05-02 16:44:06
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-05-02 16:44:18
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
  </head>
  <body>
    <div id="app">
      <table>
        <!-- <blog-post-row></blog-post-row> -->
        <tr is="blog-post-row"></tr>
      </table>
    </div>

    <script src="/vue/dist/vue.min.js"></script>
    <script src="./common.js"></script>
    <script>
      Vue.component('blog-post-row', {
        template: `
      <tr>
        <td>td内容</td>
      </tr>
      `,
      })

      var vm = new Vue({
        el: '#app',
        data: function () {
          return {}
        },
      })
    </script>
  </body>
</html>
